<?php
namespace  app\common\validate;

use think\Validate;

class Withdraw extends Validate{

    protected $rule = [
        'name'    =>'require|chs',
        'card_num'=>'require|number',
        'money'   =>'require|number',
        'bank'    =>'require',
    ];

    protected $message = [
        'name.require'=>'请填写收款姓名',
        'name.chs'    =>'姓名必须为中文',
        'card_num.require'=>'请填写银行卡号',
        'card_num.number'=>'卡号必须为数字',
        'money.require'=>'提取金额必须填写',
        'money.number'=>'金额必须为数字',
        'bank.require'=>'开户行必须填写',
    ];


}